package com.guigu.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.youxuan.pojo.Gather;
import com.guigu.youxuan.pojo.GoodsInfo;
import com.guigu.youxuan.pojo.dto.GatherDto;
import com.guigu.youxuan.pojo.PurchaseOrderDetails;
import com.guigu.youxuan.pojo.dto.GatherMakeDto;
import com.guigu.youxuan.pojo.dto.PurchaseAndDetailDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface IGatherService extends IService<Gather> {
    /**
     * 入库审核查询状态为S001-1待审核的信息
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageInfo<Gather> InStorageFuhePage(int currentPage, int pageSize);
    /**
     * 仓库列表查询所有仓库信息
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageInfo<Gather> InStorageListPage(int currentPage, int pageSize);
    /**
     * 入库审核通过
     * @param gatherDto
     */
    void YesFuheReviewList(GatherDto gatherDto);

    String getMaxDesignId();

    void gatherMake(Gather gather, List<PurchaseOrderDetails> purchaseOrderDetailsList,Integer supplierId);
}
